package com.my.chapter17;

import net.mindview.util.CollectionData;
import net.mindview.util.RandomGenerator;

import java.util.TreeSet;

public class practice9 {
    public static void main(String[] args) {
        TreeSet<String> treeSet = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
        treeSet.addAll(CollectionData.list(new RandomGenerator.String(),10));
        System.out.println("treeSet = " + treeSet);
    }
}
